package com.chj.service;

import java.util.List;
import java.util.Map;

import com.chj.entity.NetWork;

public interface NetWorkServcie {
    
    //添加网点
    public int addNetWork(NetWork netWork);

    //检查网点名称有没有重复
    public boolean checkNetWorkRepeat(NetWork netWork);

    //删除网点
    public int deleteNetWork(NetWork netWork);

    //修改网点
    public int modifyNetWork(String networkId, NetWork netWork);

    //查询单个网点
    public NetWork getNetWork(String netWorkId);

    //查询所有网点
    public List<NetWork> getNetWorkAllList();

    //查询网点通过条件
    public List<NetWork> getNetWorkListBy(Map<String, Object> queryMap,int page,int rows);

    public int getNetworkListBy(Map<String, Object> queryMap);

}
